<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main2"/>
    <g:set var="entityName" value="${message(code: 'account.label', default: 'Account')}"/>
    <title>商机阶段详情</title>
</head>

<body>
<div class="main-body">
    <div class="page-wrapper">
        <!-- Page-header start -->
        <div class="page-header">
            <div class="page-header-title">
                <h4>商机阶段详情</h4>
            </div>

            <div class="page-header-breadcrumb">
                <ul class="breadcrumb-title">
                    <li class="breadcrumb-item">
                        <a href="/salesDashboard/index">
                            <i class="icofont icofont-home"></i>
                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <g:link controller="opportunityStage" action="index">商机阶段列表</g:link>
                    </li>
                    <li class="breadcrumb-item">${this.opportunityStage?.name}</li>
                </ul>
            </div>
        </div>
        <!-- Page-header end -->
        <!-- Page-body start -->
        <div class="page-body">
            <!-- Hover table card start -->
            <div class="card">
                <div class="card-header">
                    <h5>商机阶段：${this.opportunityStage?.name}</h5>

                    <div class="card-header-right">
                        <g:link action="edit" resource="${this.opportunityStage}" data-toggle="tooltip" data-placement="top"
                                title="" data-original-title="编辑">
                            <i class="icofont icofont-edit"></i>
                        </g:link>
                        <i class="icofont icofont-rounded-down"></i>
                    </div>
                </div>

                <div class="card-block">
                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">阶段名称：</label>

                        <div class="col-md-4">
                            <span class="cont">${this.opportunityStage?.name}</span>
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">几率</label>

                        <div class="col-md-4">
                            <span class="cont">${this.opportunityStage?.probability}</span>
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">阶段描述：</label>

                        <div class="col-md-4">
                            <span class="cont">${this.opportunityStage?.description}</span>
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">阶段类型：</label>

                        <div class="col-md-4">
                            <span class="cont">${this.opportunityStage?.type?.name}</span>
                        </div>
                    </div>

                    <div class="form-group row">
                        <label class="col-md-3 col-form-label">是否启用：</label>

                        <div class="col-md-4">
                            <span class="cont">${this.opportunityStage?.active}</span>
                        </div>
                    </div>

                </div>
            </div>
            <!-- Hover table card end -->
        </div>

        <!-- Page-body end -->
    </div>
</div>

</body>

</html>

